<script setup lang="ts" name="Child1">
import eventBus from './EventBus'
const handleClick = () => {
  eventBus.$emit('changeCount', 8)
}
</script>

<template>
  <div>
    Child1
    <button @click="handleClick">+1</button>
    <hr />
  </div>
</template>
